package com.billing.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.billing.model.dao.AssetsdetailBeanMapper;
import com.billing.model.entity.TAssetsdetail;
import com.billing.service.AssetsdetailService;

@Service
public class AssetsdetailServiceImpl implements AssetsdetailService {

	@Resource
	private AssetsdetailBeanMapper assetsdetailBeanMapper;
	
	public int insertTAssetsdetail(TAssetsdetail assetsdetail) {
		return assetsdetailBeanMapper.insertTAssetsdetail(assetsdetail);
	}

	public List<TAssetsdetail> getTAssetsdetailList(int id, int currentPage,
			int pageSize) {
		return assetsdetailBeanMapper.getTAssetsdetailList(id, currentPage, pageSize);
	}

	public int getTAssetsdetailNum(int id) {
		return assetsdetailBeanMapper.getTAssetsdetailNum(id);
	}


}
